linefeat

USAGE: linefeat infile [-s] [-L]

linefeat lists line features.

ARGUMENTS:
    infile: input filename (PCC)

OPTIONS:
        -s: only summary is printed.
        -L: print Software License for this module

 
Example:

linefeat fpthin.pcc

fpthin.pcc:

Binary file (not displayable)

output:

image size: 500x500, PCC length = 11528
Line Feature Summary:
        number of line features = 2507
        average line length =   8.3
        average number of pixels per line =   8.1
        average bounding box size =   5.9 x   3.7 [pixels]
        average of line centroid locations = (223.6,253.6)

Line Features:

0: Line Break to End
        length =   1.4, no. pixels = 2
        start and end coordinates: (386,7),(387,8)
        start and end line directions: 112, 22 [deg]
        bounding box: (386,7),(387,8)
        centroid: (386,7)

1: Line Break to End
        length =   3.4, no. pixels = 4
        start and end coordinates: (386,7),(385,10)
        start and end line directions: 144, 54 [deg]
        bounding box: (385,7),(386,10)
        centroid: (385,8)

etc...

fpthin.tif:

Copyright (C) 1999 MLMSoftware Group, LLC.